package cn.luna.test;
import java.io.IOException;
import sun.misc.BASE64Decoder;
public class PhoneTool {
	private static final BASE64Decoder DECODER = new BASE64Decoder();
	public static void main(String[] args) throws IOException {
		//http://211.154.104.170/red.php?url=http%3A%2F%2Fcnota.cn%2Fg.jsp%3F1_1318
		//访问以上地址返回http://cnota.cn/g.jsp?1_1318&pin=bW89ODYxMzUzMzAxNTg0MSZ1YT1Nb3ppbGxhJnA9YzE2MzFhOTdmNTFiNzZkNmU3ZGZmOTExYzdiOGMyMDE=
		String pin="bW89ODYxMzUzMzAxNTg0MSZ1YT1Nb3ppbGxhJnA9YzE2MzFhOTdmNTFiNzZkNmU3ZGZmOTExYzdiOGMyMDE=";
		byte[] b = DECODER.decodeBuffer(pin);
		System.out.println(new String(b));//mo参数值是电话号码,ua值是用户代理
		//上面输出结果mo=8613533015841&ua=Mozilla&p=c1631a97f51b76d6e7dff911c7b8c201
	}
}
